<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>课程新增</title>
</head>
<body>
    <h1>课程新增</h1>
    <form action="/course/insert" method="post" enctype="multipart/form-data">
        <table>
            <tr>
                <td>课程名称</td>
                <td><input name="courseName"/></td>
            </tr>
            <tr>
                <td>课程封面</td>
                <td><input type="file" name="file"/></td>
            </tr>
            <tr>
                <td>课程描述</td>
                <td><textarea name="info" cols="100" rows="20"></textarea></td>
            </tr>
            <tr>
                <td>最大选课人数</td>
                <td><input name="maxNumber"/></td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: center">
                    <button type="submit">新增</button>
                    <button type="reset">重置</button>
                </td>
            </tr>
        </table>
    </form>

</body>
</html>